package com.xjgc.msibase.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xjgc.msibase.entity.MsiServer;
import com.xjgc.msibase.entity.MsiServerTask;

import java.util.List;

/**
 * 中间库服务
 *
 * @Description:
 * @Author: 小逗号
 * @Date: 2023-11-02
 * @Version: V1.0
 */
public interface IMsiServerService extends IService<MsiServer> {

    /**
     * 添加一对多
     *
     * @param msiServer
     * @param msiServerTaskList
     */
    void saveMain(MsiServer msiServer, List<MsiServerTask> msiServerTaskList) ;

    /**
     * 修改一对多
     *
     * @param msiServer
     * @param msiServerTaskList
     */
    void updateMain(MsiServer msiServer,List<MsiServerTask> msiServerTaskList);
}
